﻿using JYB.SummitExam.IDAL;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace JYB.SummitExam.DAL
{
    public class SystemCollegeDAL : ISystemCollegeDAL
    {
        /// <summary>
        /// 获取学院列表
        /// </summary>
        /// <typeparam name="T"></typeparam>
        /// <returns></returns>
        public List<T> GetCollegeList<T>()
        {
            return Common.Common.GetList<T>();
        }
        /// <summary>
        /// 获取学院下的方向列表
        /// </summary>
        /// <typeparam name="T"></typeparam>
        /// <param name="id"></param>
        /// <returns></returns>
        public List<T> MajorList<T>(int id)
        {
            return Common.Common.MajorList<T>(id);
        }
    }
}
